#pragma once
#include "crfHolder0.h"

class crfTestImp0
{
public:
	crfTestImp0(void);
	~crfTestImp0(void);

	void Test(char *fea_file,char* lambda_file,vector<string> testfiles,char* outfile);

	void WritetoFile(sentence& sen, vector< vector<int> >& predict_labels,vector< vector<double> >& predict_prob,double fvalue,FILE* fod);

	double *_lambda;
	int		_feature_num_all;

	memPool<char> pool_work_space;
	freelist<char> _temp_space;
	crfHolder0	   _foMst;
	memPool<char> temPool;
	TempleteFea* _temfea;

};

